package com.example.gateway.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.redis.core.StringRedisTemplate;

/**
 * 网关配置
 *
 * @author cui haida
 * @version JDK 8
 * 2025/8/5
 */
@Configuration
public class GatewayConfig {
    @Bean
    public StringRedisTemplate stringRedisTemplate() {
        return new StringRedisTemplate();
    }
}